import java.util.LinkedList;


public class GamePlay 
{
	private int height = 600;

	private double ballVSpeed = -0.4;
	private double ballHSpeed = 0.46;
	private int ballWidth  = 20 ,ballHeight = 20;
	
	private int blockWidth=40, blockHeight=5;
	private int numBlocks = 10;
	
	
	
	private Level[] levels = new Level[]{
			new Level(30,3,6,8,0.30),
			new Level(30,2,6,8,0.31),
			new Level(30,2,5,9,0.32),
	};

	public GamePlay()
	{ 
	}

	public int getWidth()
	{
		return numBlocks * blockWidth;
	}
	
	public int getBallWidth() {
		return ballWidth;
	}

	public int getBallHeight() {
		return ballHeight;
	}

	public int getNumBlocks() {
		return numBlocks;
	}

	public LinkedList<Level> getLevels() {
		LinkedList<Level> l = new LinkedList<Level>();
		for (int i=0; i<levels.length;i++)
		{
			l.add(new Level(levels[i]));
		}
		return l;
	}

	public double getBallVSpeed() {
		return ballVSpeed;
	}

	public double getBallHSpeed() {
		return ballHSpeed;
	}

	public int getBlockWidth() {
		return blockWidth;
	}

	public int getBlockHeight() {
		return blockHeight;
	}

	public int getHeight() {
		return height;
	}	

}
